{% extends "geonode_base.html" %}
{% load i18n %}

{% block body %}
    <div id="description">
      <h3>
        {% if error_title %}
          {{ error_title }}
        {% else %}
          {% trans "Not Permitted" %}
        {% endif %}
      </h3>
    </div>
    {% if error_message %}
    <p>
      {{ error_message }}
    </p>
    {% else %}
    <p>
      {% blocktrans %}
          You are not allowed to perform this operation.
      {% endblocktrans %}
    </p>
    <p>
      {% if not request.user.is_anonymous %}
      {% blocktrans %}Please verify that you are logged in as the correct user.{%endblocktrans%}
      {% else %}
      {% blocktrans %}Please login or register and retry.{% endblocktrans %}
      {% endif %}
    </p>
    {% endif %}
{% endblock %}
